from trade import models

def select(email):
  """
  查询用户的信息
  :param email: 用户邮箱账号
  :return: user info dict
  """
  user_data = models.UsersList.objects.filter(user_email=email).first()
  user_info_dict = {
    'email':user_data.user_email,
    'tel': user_data.phone
  }
  return user_info_dict